package com.hziee.cosmanage.manageandhr.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hziee.common.utils.PageUtils;
import com.hziee.common.utils.Query;

import com.hziee.cosmanage.manageandhr.dao.PerformanceRecordDao;
import com.hziee.cosmanage.manageandhr.entity.PerformanceRecordEntity;
import com.hziee.cosmanage.manageandhr.service.PerformanceRecordService;


@Service("performanceRecordService")
public class PerformanceRecordServiceImpl extends ServiceImpl<PerformanceRecordDao, PerformanceRecordEntity> implements PerformanceRecordService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<PerformanceRecordEntity> page = this.page(
                new Query<PerformanceRecordEntity>().getPage(params),
                new QueryWrapper<PerformanceRecordEntity>()
        );

        return new PageUtils(page);
    }

}